package com.lfs.utils;

import java.util.concurrent.ConcurrentHashMap;

/**
 * 表兼容工具类
 */
public class MapUtils {

    private static final ConcurrentHashMap<String,String> hospitalMap = new ConcurrentHashMap<String,String>(){{
        put("重庆市中医院","重庆市中医院（道门口院部）");
    }};


    /**
     * 医院映射
     * @param originName 元字段
     * @return 转换后字段
     */
    public static String hospital(String originName){
        String target = hospitalMap.get(originName);
        return null==target?originName:target;
    }
}
